cmake_minimum_required(VERSION 3.20)

project(mylib VERSION 1.0.0)

add_library(mylib STATIC lib.c)

install(TARGETS mylib)


set(CPACK_PACKGE_NAME "mylib")
include(CPack)
